package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.util.OurBaseEntity;
import lombok.Data;

/**
 * 栏目临时权限对象 column_permission
 * 
 * @author ruoyi
 * @date 2025-09-03
 */
@TableName("column_permission")
@Data
public class ColumnPermission extends OurBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 栏目ID */
    @TableField(value = "column_id")
    private Long columnId;

    /** 部门ID */
    @TableField(value = "dept_id")
    private Long deptId;

    /** 部门名称 */
    @TableField(value = "dept_name")
    private String deptName;
    
    /** 权限类型（1-添加权限，2-移除权限） */
    @TableField(value = "permission_type")
    private Integer permissionType;

}